gusucode.com > 软件APP类网站源码 通用型企业网站源码 html5(demo12) > 软件APP类网站源码 通用型企业网站源码 html5(demo12)/www2/dede/mail_file_manage.php
<?php require(dirname(__FILE__)."/config.php"); require_once(DEDEINC."/oxwindow.class.php"); CheckPurview('plus_Mail'); if(!isset($fmdo)) $fmdo=""; if($fmdo=="del") { $filename = $cfg_basedir.$activepath."/$filename"; @unlink($filename); $t="文件"; ShowMsg("成功删除一个".$t."!","mail_file_manage.php"); }else{ if(!isset($activepath)){ $activepath=$cfg_cmspath; } $inpath = ""; $activepath = str_replace("..","",$activepath); $activepath = preg_replace("#^/{1,}#","/",$activepath); if($activepath == "/"){ $activepath = ""; } if($activepath == ""){ $inpath = $cfg_basedir."/data/mail"; }else{ $inpath = $cfg_basedir.$activepath."/data/mail"; } $activeurl = $activepath; if(preg_match("#".$cfg_templets_dir."#i", $activepath)){ $istemplets = true; }else{ $istemplets = false; } include DedeInclude('templets/mail_file_manage.htm'); } ?>